home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 1
/
Nebula One.iso
/
Communications
/
Converse
/
Source
/
MessageProtocol.h
< prev
next >
Wrap
Text File
|
1995-12-12
|
567b
|
16 lines
@class User;
//** I have not been able to get NSString to encode and be passed.
//** for this reason I am using type "const char*".
@protocol MessageProtocol
/* postMessage: - post message to another machine, indicating who sent it. */
- (oneway void)postMessage:(bycopy in const char *)msg fromAuthor:(bycopy in User*)author;
/* author - pass the user information to a requesting machine. */
- (bycopy User*)author;
//** create list of machines running this application on the network
- createNetworkNameList:nameList forMachine:(const char *)originator;
@end